
package com.ruoyi.screen.domain.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import java.util.Date;

public class ScanDevice {
	private static final long serialVersionUID = 1L;

	/** app名称 */
	private String appName;

	/** 扫码时间 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date time;

	/** 设备名称 */
	private String deviceName;

	/** 设备序列号 */
	private String serial;

	public String getAppName() {
		return appName;
	}

	public void setAppName(String appName) {
		this.appName = appName;
	}

	public Date getTime() {
		return time;
	}

	public void setTime(Date time) {
		this.time = time;
	}

	public String getDeviceName() {
		return deviceName;
	}

	public void setDeviceName(String deviceName) {
		this.deviceName = deviceName;
	}

	public String getSerial() {
		return serial;
	}

	public void setSerial(String serial) {
		this.serial = serial;
	}

	// toString方法
	@Override
	public String toString() {
		return "ScanDevice{" +
				"appName='" + appName + '\'' +
				", time=" + time +
				", deviceName='" + deviceName + '\'' +
				", serial='" + serial + '\'' +
				'}';
	}
}